<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
  <script>
	var a = 0;
	var b = 0;
	for(var i = 1; i < 100; i=i+2){
	
		a=a+1/i;
	}
	for(var j = 2; j <= 100; j=j+2){
	
		b=b+1/j;
	}
	document.write(a-b);
  </script>
 </body>
</html>
